@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap');

body {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* Reset CSS de base */
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

html, body {
    min-height: 100vh;
    width: 100%;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

body.dark-theme, .dark-theme html {
    background: linear-gradient(135deg, #e8f4f8 0%, #d4e6f1 100%) !important;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

* {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* Personnalisation de la barre de défilement */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #de6b70 0%, #4c681a 100%);
    border-radius: 10px;
    border: 3px solid #f5f5f5;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #c55a5f 0%, #3a4f14 100%);
}

/* Personnalisation de la barre de défilement pour le mode sombre */
.dark-theme ::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 10px;
}

.dark-theme ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #42a5f5 0%, #1976d2 100%);
    border-radius: 10px;
    border: 3px solid #f5f5f5;
}

.dark-theme ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #1976d2 0%, #1565c0 100%);
}

/* Style de la section artiste */
.artiste-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    margin-top: 72px; /* Hauteur de la navbar pour éviter le chevauchement */
}

.artiste-container {
    max-width: 1200px;
    margin: 0 auto;
}

.artiste-title {
    text-align: center;
    font-size: 3rem;
    color: #323232;
    margin-bottom: 4rem;
    position: relative;
}

.artiste-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #de6b70, #4c681a);
    border-radius: 2px;
}

.artiste-description {
    text-align: center;
    max-width: 800px;
    margin: 2rem auto 4rem;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
    position: relative;
    padding: 0 1rem;
}

.artiste-description::before,
.artiste-description::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, #de6b70, #4c681a);
    opacity: 0.5;
}

.artiste-description::before {
    left: 0;
    top: 0;
}

.artiste-description::after {
    right: 0;
    bottom: 0;
}

.artiste-mini-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    width: 100%;
}

.mini-nav-link {
    text-decoration: none;
    color: #323232;
    font-size: 1.2rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    width: 200px;
    text-align: center;

}

.mini-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #de6b70 0%, #4c681a 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.mini-nav-link span {
    position: relative;
    z-index: 2;
    color: #323232;
    transition: color 0.3s ease;
}

.mini-nav-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
 
}

.mini-nav-link:hover::before {
    opacity: 0.1;
}

.mini-nav-link:hover span {
    color: #4c681a;
}

.artiste-categories {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.artiste-category {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.artiste-content {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.artiste-text {
    flex: 1;
}

.artiste-image-container {
    flex: 1;
    max-width: 400px;
}

.artiste-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.artiste-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #de6b70, #4c681a);
}

.artiste-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.artiste-category h3 {
    color: #323232;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.artiste-category h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #de6b70;
}

.artiste-category p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

/* Style du footer */
.footer {
    background-color: #DDD0C8;
    padding: 3rem 0 1rem 0;
    margin-top: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 0 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.footer-section h3 {
    color: #323232;
    margin: 0;
    padding: 0;
    font-size: 1.2rem;
    line-height: 40px;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 40px;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-section p,
.footer-section .social-links,
.footer-section .footer-link {
    margin-top: 1rem;
}

.footer-section p {
    color: #323232;
    margin: 0.5rem 0;
    font-size: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: #323232;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #4c681a;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(50, 50, 50, 0.1);
}

.footer-bottom p {
    color: #323232;
    font-size: 0.9rem;
}

.footer-link {
    display: block;
    color: #323232;
    text-decoration: none;
    margin: 0.5rem 0;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #4c681a;
}

/* Style du bouton burger */
.burger-menu {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #4c681a;
    cursor: pointer;
    padding: 0.5rem;
}

.burger-menu:hover {
    color: #4c681a;
}

/* Media queries pour la responsivité */
@media (max-width: 1209px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .burger-menu {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #DDD0C8;
        padding: 2rem;
        flex-direction: column;
        align-items: flex-start;
        height: calc(100vh - 72px);
        overflow-y: auto;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        width: 100%;
        padding: 1rem 0;
        font-size: 1.4rem;
    }

    .dropdown-content {
        position: static;
        display: none;
        background-color: transparent;
        box-shadow: none;
        margin-left: 1rem;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown.active .fa-arrow-down {
        transform: rotate(180deg);
    }

    .dropdown-link {
        padding: 0.5rem 0;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .artiste-mini-nav {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .mini-nav-link {
        width: 200px;
        text-align: center;
        padding: 0.8rem;
    }
}

@media (max-width: 768px) {
    .artiste-section {
        padding: 4rem 1rem;
    }

    .artiste-title {
        font-size: 2.5rem;
    }

    .artiste-content {
        flex-direction: column;
    }
    
    .artiste-image-container {
        max-width: 100%;
    }

    .artiste-category {
        padding: 2rem;
    }

    .artiste-category h3 {
        font-size: 1.8rem;
    }

    .artiste-category p {
        font-size: 1rem;
    }

    .artiste-mini-nav {
        gap: 1rem;
    }

    .mini-nav-link {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
        width: 180px;
    }
}

/* Ajustement du scroll */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* --- Bouton retour en haut de page --- */
.back-to-top {
    position: fixed;
    bottom: 170px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1100;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    transform: translateY(-5px);
    background-color: #444;
}
.back-to-top i {
    transition: transform 0.3s ease;
}
.back-to-top:hover i {
    transform: translateY(-2px);
}
@media (max-width: 768px) {
    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        bottom: 20px;
        right: 20px;
    }
}

/* Style du bouton de thème */
.theme-switch {
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

.theme-checkbox {
    --toggle-size: 12px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 4.25em;
    height: 2.125em;
    background: -webkit-gradient(linear, left top, right top, color-stop(50%, #efefef), color-stop(50%, #2a2a2a)) no-repeat;
    background: -o-linear-gradient(left, #efefef 50%, #2a2a2a 50%) no-repeat;
    background: linear-gradient(to right, #efefef 50%, #2a2a2a 50%) no-repeat;
    background-size: 205%;
    background-position: 0;
    -webkit-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
    border-radius: 99em;
    position: relative;
    cursor: pointer;
    font-size: var(--toggle-size);
}

.theme-checkbox::before {
    content: "";
    width: 1.5em;
    height: 1.5em;
    position: absolute;
    top: 0.313em;
    left: 0.313em;
    background: -webkit-gradient(linear, left top, right top, color-stop(50%, #efefef), color-stop(50%, #2a2a2a)) no-repeat;
    background: -o-linear-gradient(left, #efefef 50%, #2a2a2a 50%) no-repeat;
    background: linear-gradient(to right, #efefef 50%, #2a2a2a 50%) no-repeat;
    background-size: 205%;
    background-position: 100%;
    border-radius: 50%;
    -webkit-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
}

.theme-checkbox:checked::before {
    left: calc(100% - 1.5em - 0.313em);
    background-position: 0;
}

.theme-checkbox:checked {
    background-position: 100%;
}

/* Ajustement pour le mode mobile */
@media (max-width: 1209px) {
    .theme-switch {
        margin: 1rem 0;
    }
}

/* Styles pour le thème sombre */
.dark-theme {
    color: #F1D797;
}

.dark-theme .navbar {
    background-color: #BAD2E0;
}

.dark-theme .navbar-blur {
    background-color: rgba(186, 210, 224, 0.8);
}

.dark-theme .nav-link,
.dark-theme .dropdown-link {
    color: #113356;
}

.dark-theme .nav-link:hover,
.dark-theme .dropdown-link:hover {
    color: #0A1F2E;
}

.dark-theme .nav-link::after,
.dark-theme .dropdown-link::after {
    background: linear-gradient(90deg, #42a5f5, #1976d2);
}

.dark-theme .dropdown-content {
    background-color: #BAD2E0;
    border: none;
}

.dark-theme .footer {
    background-color: #BAD2E0;
    border-top: none;
}

.dark-theme .footer-section h3 {
    color: #4c681a;
}

.dark-theme .footer-section p,
.dark-theme .footer-link {
    color: #323232;
}

.dark-theme .footer-bottom p {
    color: #323232;
}

.dark-theme .social-links a {
    color: #323232;
}
.dark-theme .social-links a:hover {
    color: #0A1F2E;
}

.dark-theme .footer-link:hover {
    color: #0A1F2E;
}

.dark-theme .back-to-top {
    background-color: #333;
    color: #fff;
}

.dark-theme .back-to-top:hover {
    background-color: #444;
}

.dark-theme .burger-menu {
    color: #113356;
}

.dark-theme .burger-menu:hover {
    color: #113356;
}

.dark-theme .nav-links.active {
    background-color: #BAD2E0 !important;
}

.dark-theme .mini-nav-link {
    background-color: #00417B;
    border: 1px solid #00A9BA;
}

.dark-theme .mini-nav-link span {
    color: #F1D797;
}

.dark-theme .mini-nav-link:hover span {
    color: #FF7D08;
}

.dark-theme .mini-nav-link:hover::before {
    background: linear-gradient(135deg, #A80000 0%, #FF7D08 100%);
}

.dark-theme .artiste-title {
    color: #FF7D08;
}

.dark-theme .artiste-description {
    color: #F1D797;
}

.dark-theme .artiste-description::before,
.dark-theme .artiste-description::after {
    background: linear-gradient(to bottom, #A80000, #FF7D08);
}

/* Styles pour l'icône du calendrier */
.calendar-icon {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #333;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
}

.calendar-icon:hover {
    transform: translateY(-5px);
    background-color: #444;
}

.calendar-icon i {
    font-size: 1.7rem !important;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Styles pour le modal du calendrier */
.calendar-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.calendar-modal.active {
    display: flex;
}

.calendar-container {
    background-color: white;
    border-radius: 15px;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-title {
    font-size: 1.5rem;
    color: #323232;
    margin: 0;
}

.calendar-nav {
    background: none;
    border: none;
    color: #323232;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.calendar-nav:hover {
    color: #4c681a;
}

.calendar-main {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.calendar-grid {
    flex: 1;
    min-width: 300px;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 10px;
}

.calendar-weekdays div {
    text-align: center;
    font-weight: bold;
    color: #323232;
    padding: 5px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    position: relative;
    background-color: #f8f8f8;
    margin: 2px;
    border: 1px solid transparent;
    color: #000000;
}

.calendar-day:hover {
    background-color: #e8e8e8;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.calendar-day.today {
    background: #DDD0C8;
    color: #323232;
    font-weight: bold;
    border: 2px solid #de6b70;
}

.calendar-day.selected {
    background: #de6b70;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(222, 107, 112, 0.3);
    border: 1px solid #de6b70;
}

.calendar-day.other-month {
    color: #ccc;
    background-color: #f5f5f5;
}

.calendar-day.has-events {
    position: relative;
    border: 1px solid #4c681a;
    background-color: rgba(76, 104, 26, 0.05);
}

.calendar-day.has-events:hover {
    border-color: #de6b70;
    background-color: rgba(222, 107, 112, 0.05);
}

.calendar-day.selected.has-events {
    border-color: white;
    background-color: #de6b70;
}

.calendar-day.today.has-events {
    border-color: #de6b70;
    background-color: #DDD0C8;
}

.calendar-day.has-events::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #4c681a;
    border-radius: 50%;
    box-shadow: 
        -8px 0 0 #4c681a,
        8px 0 0 #4c681a;
}

.calendar-day.has-events:hover::after {
    background: #de6b70;
    box-shadow: 
        -8px 0 0 #de6b70,
        8px 0 0 #de6b70;
}

.calendar-day.selected.has-events::after {
    background: white;
    box-shadow: 
        -8px 0 0 white,
        8px 0 0 white;
}

.calendar-events {
    flex: 1;
    min-width: 300px;
    background-color: #f8f8f8;
    border-radius: 15px;
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #e8e8e8;
}

.calendar-events h3 {
    font-size: 1.2rem;
    color: #323232;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #de6b70, #4c681a) 1;
}

.event-item {
    background-color: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e8e8e8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 10px;
}

.event-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.event-item .event-title {
    font-weight: bold;
    color: #323232;
    margin-bottom: 8px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-item .event-title::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #de6b70;
    border-radius: 50%;
}

.event-item .event-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
}

.no-events {
    color: #666;
    text-align: center;
    margin: 30px 0;
    font-style: italic;
    font-size: 1.1rem;
    padding: 20px;
    background-color: white;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
}

.quick-date-selector {
    background-color: #f8f8f8;
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid #e8e8e8;
}

.quick-date-selector h3 {
    font-size: 1.2rem;
    color: #323232;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #de6b70, #4c681a) 1;
}

.date-inputs {
    display: flex;
    gap: 15px;
    align-items: center;
}

.date-picker {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    font-size: 1rem;
    color: #323232;
    background-color: white;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.date-picker:focus {
    outline: none;
    border-color: #de6b70;
    box-shadow: 0 0 0 3px rgba(222, 107, 112, 0.1);
}

.date-button {
    background: linear-gradient(135deg, #de6b70 0%, #4c681a 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.date-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.date-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(222, 107, 112, 0.4);
}

.date-button:hover::before {
    left: 100%;
}

@media (max-width: 768px) {
    .calendar-main {
        flex-direction: column;
    }
    
    .calendar-grid,
    .calendar-events {
        min-width: 100%;
    }
    
    .date-inputs {
        flex-direction: column;
    }
    
    .date-button {
        width: 100%;
    }
}

.calendar-day.multi-day-event {
    background-color: rgba(76, 104, 26, 0.05);
    border: 1px solid #4c681a;
}

.calendar-day.multi-day-event:hover {
    background-color: rgba(222, 107, 112, 0.05);
    border-color: #de6b70;
}

.calendar-day.selected.multi-day-event {
    border-color: white;
    background-color: #de6b70;
}

.event-duration {
    font-size: 0.85rem;
    color: #666;
    margin-left: 8px;
    font-weight: normal;
    background-color: rgba(76, 104, 26, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
}

.event-start-date {
    font-size: 0.85rem;
    color: #666;
    margin-top: 8px;
    font-style: italic;
}

/* === Styles du calendrier en mode sombre === */
.dark-theme .calendar-day {
    color: #000000;
}

.dark-theme .calendar-day.today {
    background: #1976d2;
    color: white;
    font-weight: bold;
    border: 2px solid #42a5f5;
}

.dark-theme .calendar-day.selected {
    background: #1976d2;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
    border: 1px solid #42a5f5;
}

.dark-theme .calendar-day.selected.has-events {
    border-color: white;
    background-color: #1976d2;
}

.dark-theme .calendar-day.today.has-events {
    border-color: #42a5f5;
    background-color: #1976d2;
}

.dark-theme .calendar-day.selected.has-events::after {
    background: white;
    box-shadow: 
        -8px 0 0 white,
        8px 0 0 white;
}

.dark-theme .calendar-day.selected.multi-day-event {
    border-color: white;
    background-color: #1976d2;
}

/* === Styles des titres h3 du calendrier en mode sombre === */
.dark-theme .calendar-events h3 {
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #42a5f5, #1976d2) 1;
}

.dark-theme .quick-date-selector h3 {
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #42a5f5, #1976d2) 1;
}

/* Suppression des styles activity-section et associés */

/* Styles pour la section d'introduction */
.intro-section {
    padding: 6rem 2rem 0rem 2rem;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    margin-top: 72px; /* Hauteur de la navbar pour éviter le chevauchement */
}

.intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(222, 107, 112, 0.02) 0%, rgba(76, 104, 26, 0.02) 100%);
    opacity: 0.05;
    z-index: 1;
}

.intro-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.intro-title {
    font-size: 4rem;
    color: #323232;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.intro-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #de6b70, #4c681a);
    border-radius: 2px;
}

.intro-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding: 0 1rem;
}

.intro-description::before,
.intro-description::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, #de6b70, #4c681a);
    opacity: 0.5;
}

.intro-description::before {
    left: 0;
    top: 0;
}

.intro-description::after {
    right: 0;
    bottom: 0;
}

/* Animation d'apparition */
.intro-section {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Styles pour le thème sombre */
.dark-theme .intro-section {
    background: linear-gradient(135deg, #e8f4f8 0%, #d4e6f1 100%);
}

.dark-theme .intro-title {
    color: #323232;
}

.dark-theme .intro-description {
    color: #666;
}

.dark-theme .intro-button {
    background-color: #BAD2E0;
    border: 1px solid #113356;
}

.dark-theme .intro-button:hover .button-content {
    color: #FF7D08;
}

.dark-theme .intro-title::after {
    background: linear-gradient(90deg, #42a5f5, #1976d2);
}

.dark-theme .intro-description::after {
    background: linear-gradient(0deg, #42a5f5, #1976d2);
}

.dark-theme .intro-description::before {
    background: linear-gradient(0deg, #42a5f5, #1976d2);
}

.dark-theme .intro-button:hover span {
    color: #0A1F2E !important;
}
.dark-theme .intro-button:hover::before {
    background: linear-gradient(180deg, #90caf9 0%, #64b5f6 100%) !important;
    opacity: 0.25 !important;
}

/* Media queries pour la responsivité */
@media (max-width: 768px) {
    .intro-title {
        font-size: 3rem;
    }

    .intro-description {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .intro-buttons {
        gap: 1rem;
    }

    .intro-button {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .intro-title {
        font-size: 2.5rem;
    }

    .intro-buttons {
        flex-direction: column;
        align-items: center;
    }

    .intro-button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .calendar-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        bottom: 20px;
        right: 75px;
    }
}

/* === Styles manquants pour le mode sombre === */
.dark-theme .date-button,
.dark-theme .slide-button,
.dark-theme .methode-button,
.dark-theme .methode-active-button,
.dark-theme .submit-button {
    background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%) !important;
    color: #fff !important;
    box-shadow: 0 5px 15px rgba(25, 118, 210, 0.3) !important;
}

.dark-theme .date-button:hover,
.dark-theme .slide-button:hover,
.dark-theme .methode-button:hover,
.dark-theme .methode-active-button:hover,
.dark-theme .submit-button:hover {
    background: linear-gradient(135deg, #1565c0 0%, #42a5f5 100%) !important;
    box-shadow: 0 8px 20px rgba(25, 118, 210, 0.4) !important;
}

.dark-theme .calendar-day.other-month {
    color: #999;
    background-color: #f0f0f0;
}

/* --- Scrollbar mode sombre unique et prioritaire --- */
body.dark-theme::-webkit-scrollbar-thumb, .dark-theme ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #42a5f5 0%, #1976d2 100%) !important;
    border-radius: 10px !important;
    border: 3px solid #f5f5f5 !important;
}
body.dark-theme::-webkit-scrollbar-thumb:hover, .dark-theme ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #1976d2 0%, #1565c0 100%) !important;
}

/* Accordéon moderne pour les mentions légales */
.mentions-legales-accordion {
    background: none;
    border-radius: 16px;
    box-shadow: none;
    padding: 0;
}
.mentions-legales-accordion .accordion-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 1.2rem;
    overflow: hidden;
    border: 1px solid #eee;
    transition: box-shadow 0.2s;
}
.mentions-legales-accordion .accordion-item.open {
    box-shadow: 0 4px 16px rgba(76,104,26,0.10);
    border-color: #de6b70;
}
.mentions-legales-accordion .accordion-header {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    font-size: 1.2rem;
    font-weight: 600;
    color: #4c681a;
    padding: 1.2rem 1.5rem;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    border-bottom: 1px solid #f5f5f5;
}
.mentions-legales-accordion .accordion-header i {
    font-size: 1.3rem;
    color: #de6b70;
    min-width: 22px;
    text-align: center;
}
.mentions-legales-accordion .accordion-item.open .accordion-header {
    background: linear-gradient(90deg, #f5f5f5 60%, #de6b70 100%);
    color: #323232;
}
.mentions-legales-accordion .accordion-content {
    max-height: 0;
    overflow: hidden;
    background: #fafafa;
    padding: 0 1.5rem;
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
    font-size: 1rem;
    color: #323232;
}
.mentions-legales-accordion .accordion-item.open .accordion-content {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
    background: #fffbe9;
}
.mentions-legales-accordion ul {
    padding-left: 1.2rem;
    margin: 0.5rem 0 0 0;
}
.mentions-legales-accordion li {
    margin-bottom: 0.4rem;
    line-height: 1.6;
}
@media (max-width: 600px) {
    .mentions-legales-accordion .accordion-header {
        font-size: 1rem;
        padding: 1rem 1rem;
    }
    .mentions-legales-accordion .accordion-content {
        font-size: 0.95rem;
        padding: 0 1rem;
    }
    .mentions-legales-accordion .accordion-item.open .accordion-content {
        padding: 0.7rem 1rem 1rem 1rem;
    }
}
/* Mode sombre pour l'accordéon */
body.dark-theme .mentions-legales-accordion .accordion-item {
    background: #BAD2E0;
    border-color: #1976d2;
}
body.dark-theme .mentions-legales-accordion .accordion-header {
    color: #113356;
}
body.dark-theme .mentions-legales-accordion .accordion-header i {
    color: #1976d2;
}
body.dark-theme .mentions-legales-accordion .accordion-item.open .accordion-header {
    background: linear-gradient(90deg, #e8f4f8 60%, #1976d2 100%);
    color: #323232;
}
body.dark-theme .mentions-legales-accordion .accordion-content {
    background: #e8f4f8;
    color: #113356;
}
body.dark-theme .mentions-legales-accordion .accordion-item.open .accordion-content {
    background: #d4e6f1;
}

/* Couleur explicite pour les titres de section du footer */
.footer-section h3 {
    color: #4c681a !important;
}
.dark-theme .footer-section h3 {
    color: #113356 !important;
}

